# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo02
# Description:
# Author:       98745
# Date:         2019/2/28
#-------------------------------------------------------------------------------

dict={}
dict[20]='bill'
dict['pan']={'age':21,'s':10}
dict[(12,'pan','t')]='hello'
print(dict)

ids={
    'eclipse':{'lan':['jave','python','javascript','php'],'org':'微软'},
    'visualstudio':{'lan':['c#','c++','vb'],'org':'微软'},
    'webstorm':{'lan':['javascript'],'org':'jetbrains'}
}
lab={
    'lan':'支持的编程语言',
    'org':'所属机构'
}
id=input('输入id的名字：')
fid=id.replace(' ','').lower()
c=input('要查询编程语言还是所属机构？')
if c=='lan':key='lan'
if c=='org':key='org'
if fid in ids:
    print('{}{}是{}'.format(id,lab[key],ids[fid][key]))